laravel current route name

110

laravel get current route name -

Route::currentRouteName()

get current route in blade laravel -

<p> Path: {{ Request::path() }} </p>

laravel get current route name -

Route::getCurrentRoute()->getActionName();

laravel current route name -

$route = Route::current();

$name = Route::currentRouteName();

$action = Route::currentRouteAction();

Comments

Submit
0 Comments